-
Notifications
You must be signed in to change notification settings - Fork 1.2k
schema, refactor: rename cloud.user_vm_details to cloud.vm_instance_details #10736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
schema, refactor: rename cloud.user_vm_details to cloud.vm_instance_details #10736
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10736 +/- ##
=============================================
- Coverage 16.74% 3.89% -12.86%
=============================================
Files 5724 417 -5307
Lines 507785 33971 -473814
Branches 61732 6095 -55637
=============================================
- Hits 85052 1324 -83728
+ Misses 413251 32489 -380762
+ Partials 9482 158 -9324
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
02bee47
to
e392611
Compare
…etails Fixes apache#9975 Signed-off-by: Abhishek Kumar <[email protected]>
e392611
to
2f4c7a2
Compare
Signed-off-by: Abhishek Kumar <[email protected]>
Signed-off-by: Abhishek Kumar <[email protected]>
@blueorangutan package |
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13080 |
thanks for this @shwstppr |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13029)
|
@blueorangutan test matrix |
@shwstppr a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13064)
|
[SF] Trillian test result (tid-13065)
|
[SF] Trillian test result (tid-13066)
|
[SF] Trillian test result (tid-13067)
|
tools/marvin/setup.py
Outdated
@@ -27,7 +27,7 @@ | |||
raise RuntimeError("python setuptools is required to build Marvin") | |||
|
|||
|
|||
VERSION = "4.21.0.0-SNAPSHOT" | |||
VERSION = "4.21.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don’t think we want to merge this bit, yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted
@blueorangutan package |
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 14169 |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@shwstppr can you look at the conflicts? |
@blueorangutan package |
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm (upgrade tests needed)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames the database table and related code from cloud.user_vm_details
to cloud.vm_instance_details
to support storing details for different types of VMs, not just user VMs. This is a schema refactoring that enhances flexibility by allowing VM details storage for all VM types.
Reviewed Changes
Copilot reviewed 66 out of 66 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
Schema migration file | Adds SQL migration to rename database table from user_vm_details to vm_instance_details |
DAO classes | Renames UserVmDetailsDao to VMInstanceDetailsDao and updates implementation |
VO classes | Renames UserVmDetailVO to VMInstanceDetailVO and updates table mapping |
Test files | Updates all test references to use new class names |
Service implementations | Updates all service layer code to use renamed DAO and VO classes |
Database view | Updates SQL view to reference new table name |
Spring configuration | Updates bean definitions to use new class names |
Comments suppressed due to low confidence (1)
server/src/test/resources/createNetworkOffering.xml:53
- The bean id 'UservmDetailsDaoImpl' is inconsistent with the new class name 'VMInstanceDetailsDaoImpl'. The bean id should be updated to match the new naming convention, such as 'vmInstanceDetailsDaoImpl'.
<bean id="UservmDetailsDaoImpl" class="com.cloud.vm.dao.VMInstanceDetailsDaoImpl" />
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14270 |
@blueorangutan test |
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13830)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same boat as @DaanHoogland and @sureshanaparti , CLGTM, but needs testing.
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 14311 |
running upgrade tests ... |
Description
Fixes #9975
Renames cloud.user_vm_details to cloud.vm_instance_details to allow adding details for different types on VMs
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?